<!DOCTYPE html>
<html lang="en-US">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>set_object_model_3d_attrib [HALCON算子参考手册]</title>
<style type="text/css">
      body {
    color: #000000;
    background-color: #ffffff;
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
}

.body_main {
    margin-left: 35px;
    margin-right: 35px;
}

@media screen and (min-width:992px) {

    .body_main {
        margin-left: 10%;
        margin-right: 10%;
    }

    table.toctable {
        width: 80%
    }
}

@media screen and (min-width:1400px) {

    .body_main {
        margin-left: 15%;
        margin-right: 15%;
    }

    table.toctable {
        width: 70%
    }
}

body>div ul ul {
    margin-left: inherit;
}

a:link {
    color: #0044cc;
}

a:link,
a:visited {
    text-decoration: none;
}

a:link:hover,
a:visited:hover {
    text-decoration: underline;
}

th {
    text-align: left;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    text-rendering: optimizeLegibility;
    color: #666666;
}

code {
    font-family: monospace,monospace;
}

h1 a.halconoperator {
    font-family: Arial, Helvetica, sans-serif;
    color: #666666;
}

h2 a.halconoperator {
    font-family: Arial, Helvetica, sans-serif;
    color: #666666;
}

hr {
    border: 0;
    border-top: solid 1px #f28d26;
}

.pre {
    display: block;
    padding-bottom: 1ex;
    font-family: monospace;
    white-space: pre;
}

pre {
    font-family: monospace, monospace;
    padding: 1ex;
    white-space: pre-wrap;
}

.toc {
    font-size: 80%;
    border-top: 1px dashed #f28d26;
    border-bottom: 1px dashed #f28d26;
    padding-top: 5px;
    padding-bottom: 5px;
}

.inv {
    margin: 0;
    border: 0;
    padding: 0;
}

.banner {
    color: #666666;
    padding-left: 1em;
}

.logo {
    background-color: white;
}

.keyboard {
    font-size: 80%;
    padding-left: 3px;
    padding-right: 3px;
    border-radius: 5px;
    border-width: 1px;
    border-style: solid;
    border-color: #f28d26;
    background-color: #f3f3f3;
}

.warning {
    margin-top: 2ex;
    margin-bottom: 1ex;
    padding: 10px;
    text-align: center;
    border: 1px solid;
    color: #bb0000;
    background-color: #fff7f7
}

.imprint {
    margin-top: 1ex;
    font-size: 80%;
    color: #666666;
}

.imprinthead {
    font-weight: bolder;
    color: #666666;
}

.indexlink {
    text-align: right;
    padding-bottom: 5px;
}

.postscript {
    margin-top: 2ex;
    font-size: 80%;
    color: #666666
}

.evenrow {
    background-color: #e7e7ef;
    vertical-align: top;
}

.oddrow {
    background-color: #f7f7ff;
    vertical-align: top;
}

.headrow {
    background-color: #97979f;
    color: #ffffff;
    vertical-align: top;
}

.logorow {
    vertical-align: top;
}

.error {
    color: red;
}

.var {
    font-style: italic
}

.halconoperator {
    font-family: monospace, monospace;
}

span.operator {
    font-family: monospace, monospace;
}

span.procedure {
    font-family: monospace, monospace;
}

span.operation {
    font-family: monospace, monospace;
}

span.feature {
    font-family: Arial, Helvetica, Homerton, sans-serif;
}

ul {
    padding-left: 1.2em;
}

li.dot {
    list-style-type: square;
    color: #f28d26;
}

.breadcrumb {
    font-size: 80%;
    color: white;
    background-color: #062d64;
    margin-bottom: 20px;
    padding-left: 35px;
    padding-right: 35px;
    padding-bottom: 15px;
}

.webbar {
    font-size: 80%;
    background-color: #dddddd;
    margin-top: 0px;
    margin-left: -35px;
    margin-right: -35px;
    margin-bottom: 0px;
    padding-top: 5px;
    padding-left: 35px;
    padding-right: 35px;
    padding-bottom: 5px;
}

.footer {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    border-top: 1px dashed #f28d26;
    font-size: 80%;
    color: #666666;
    padding-bottom: 8px;
}

.footer .socialmedia a {
    padding-left: 7px;
}

.socialmedia {
    padding-top: 10px;
}

.copyright {
    margin-top: 19px;
}

.breadcrumb a {
    color: #ffffff;
    border-bottom: 1px solid white;
}

.breadcrumb a:link:hover,
.breadcrumb a:visited:hover {
    text-decoration: none;
    border-bottom: none;
}

.heading {
    margin-top: 1ex;
    font-size: 110%;
    font-weight: bold;
    color: #666666;
}

.text {
    color: black;
}

.example {
    font-size: 80%;
    background-color: #f3f3f3;
    border: 1px dashed #666666;
    padding: 10px;
}

.displaymath {
    display: block;
    text-align: center;
    margin-top: 1ex;
    margin-bottom: 1ex;
}

.title {
    float: left;
    padding-top: 3px;
    padding-bottom: 3px;
}

.signnote {
    font-family: Arial, Helvetica, Homerton, sans-serif;
    font-size: 80%;
    color: #666666;
    font-weight: lighter;
    font-style: italic
}

.par {
    margin-bottom: 1.5em;
}

.parhead {
    text-align: right;
}

.parname {
    float: left;
}

.pardesc {
    font-size: 85%;
    margin-top: 0.5em;
    margin-bottom: 0.5em;
    margin-left: 2em;
}

.parcat {
    color: #666;
    font-weight: bold;
}

*[data-if=cpp],
*[data-if=c],
*[data-if=dotnet],
*[data-if=com],
*[data-if=python] {
    display: none;
}

.tabbar {
    text-align: right;
    border-bottom: 1px solid #f28d26;
    margin-bottom: 0.5em;
}

ul.tabs {
    padding-top: 3px;
    padding-bottom: 3px;
    margin-top: 10px;
    margin-bottom: 0;
    font-size: 80%
}

ul.tabs li {
    padding-top: 3px;
    padding-bottom: 3px;
    display: inline;
    overflow: hidden;
    list-style-type: none;
    margin: 0;
    margin-left: 8px;
    border-top: 1px solid #666;
    border-left: 1px solid #666;
    border-right: 1px solid #666;
}

ul.tabs li.active {
    border-left: 1px solid #f28d26;
    border-right: 1px solid #f28d26;
    border-top: 1px solid #f28d26;
    border-bottom: 1px solid #fff;
}

ul.tabs li.inactive {
    background-color: #eee;
}

ul.tabs li a {
    padding-left: 5px;
    padding-right: 5px;
    color: #666;
}

ul.tabs li a:link:hover {
    text-decoration: none;
}

ul.tabs li.inactive a {
    color: #666;
}

ul.tabs li.active a {
    color: black;
}

dl.generic dd {
    margin-bottom: 1em;
}

.pari {
    color: olive;
}

.paro {
    color: maroon;
}

.comment {
    font-size: 80%;
    color: green;
    white-space: nowrap;
}

table.grid {
    border-collapse: collapse;
}

table.grid td {
    padding: 5px;
    border: 1px solid;
}

table.layout {
    border: 0px;
}

table.layout td {
    padding: 5px;
}

table.table {
    border-collapse: collapse;
}

table.table td {
    padding: 5px;
    border-left: 0px;
    border-right: 0px;
}

table.table tr:last-child {
    border-bottom: 1px solid;
}

table.table th {
    padding: 5px;
    border-top: 1px solid;
    border-bottom: 1px solid;
    border-left: 0px;
    border-right: 0px;
}

.details_summary {
    cursor: pointer;
}

table.toctable {
    width: 100%;
}

table.toctable col:first-child {
    width: 20%;
}

table.toctable col:nth-last-child(2) {
    width: 8%;
}

table.altcolored tr:nth-child(even) {
    background-color: #f3f3f3;
}

    </style>
<!--OP_REF_STYLE_END-->
<script>
    <!--
var active_lang='hdevelop';function switchVisibility(obj,active_lang,new_lang)
{var display_style='inline';
for(var i=0;i<obj.length;i++)
{if(obj.item(i).getAttribute('data-if')==new_lang)
{obj.item(i).style.display=display_style;}
if(obj.item(i).getAttribute('data-if')==active_lang)
{obj.item(i).style.display='none';}}
return;}
function toggleLanguage(new_lang,initial)
{if(active_lang!=new_lang)
{var lis=document.getElementsByTagName('li');for(var i=0;i<lis.length;i++)
{if(lis.item(i).id=='syn-'+new_lang)
{lis.item(i).className='active';}
else
{lis.item(i).className='inactive';}}
var divs=document.getElementsByTagName('div');var spans=document.getElementsByTagName('span');switchVisibility(divs,active_lang,new_lang);switchVisibility(spans,active_lang,new_lang);if(!initial)
{setCookie("halcon_reference_language",new_lang,null,null);}
active_lang=new_lang;}
return;}
function setCookie(name,value,domain,exp_offset,path,secure)
{localStorage.setItem(name,value);}
function getCookie(name)
{return localStorage.getItem(name);}
function initialize()
{var qs=location.href.split('?')[1];var qs_lang_raw=location.href.split('interface=')[1];var qs_lang;if(qs_lang_raw)
{qs_lang=qs_lang_raw.split('#')[0];}
var cookie_lang=getCookie("halcon_reference_language");var new_lang;if((qs_lang=="hdevelop")||(qs_lang=="dotnet")||(qs_lang=="python")||(qs_lang=="cpp")||(qs_lang=="c"))
{new_lang=qs_lang;setCookie("halcon_reference_language",new_lang,null,null);}
else if((cookie_lang=="hdevelop")||(cookie_lang=="dotnet")||(cookie_lang=="python")||(cookie_lang=="cpp")||(cookie_lang=="c"))
{new_lang=cookie_lang;}
else
{new_lang="hdevelop";}
toggleLanguage(new_lang,1);return;}
-->

  </script>
</head>
<body onload="initialize();">
<div class="breadcrumb">
<br class="inv"><a href="index.html">目录</a> / <a href="toc_3dobjectmodel.html">3D Object Model</a> / <a href="toc_3dobjectmodel_creation.html">Creation</a><br class="inv">
</div>
<div class="body_main">
<div class="tabbar"><ul class="tabs">
<li id="syn-hdevelop" class="active"><a href="javascript:void(0);" onclick="toggleLanguage('hdevelop')" onfocus="blur()">HDevelop</a></li>
<li id="syn-dotnet" class="inactive"><a href="javascript:void(0);" onclick="toggleLanguage('dotnet')" onfocus="blur()">.NET</a></li>
<li id="syn-python" class="inactive"><a href="javascript:void(0);" onclick="toggleLanguage('python')" onfocus="blur()">Python</a></li>
<li id="syn-cpp" class="inactive"><a href="javascript:void(0);" onclick="toggleLanguage('cpp')" onfocus="blur()">C++</a></li>
<li id="syn-c" class="inactive"><a href="javascript:void(0);" onclick="toggleLanguage('c')" onfocus="blur()">C</a></li>
</ul></div>
<div class="indexlink">
<a href="index_classes.html"><span data-if="dotnet" style="display:none;">类别</span><span data-if="cpp" style="display:none;">类别</span></a><span data-if="dotnet" style="display:none;"> | </span><span data-if="cpp" style="display:none;"> | </span><a href="index_by_name.html">算子列表</a>
</div>
<!--OP_REF_HEADER_END-->
<h1 id="sec_name">
<span data-if="hdevelop" style="display:inline;">set_object_model_3d_attrib</span><span data-if="c" style="display:none;">T_set_object_model_3d_attrib</span><span data-if="cpp" style="display:none;">SetObjectModel3dAttrib</span><span data-if="dotnet" style="display:none;">SetObjectModel3dAttrib</span><span data-if="python" style="display:none;">set_object_model_3d_attrib</span> (算子名称)</h1>
<h2>名称</h2>
<p><code><span data-if="hdevelop" style="display:inline;">set_object_model_3d_attrib</span><span data-if="c" style="display:none;">T_set_object_model_3d_attrib</span><span data-if="cpp" style="display:none;">SetObjectModel3dAttrib</span><span data-if="dotnet" style="display:none;">SetObjectModel3dAttrib</span><span data-if="python" style="display:none;">set_object_model_3d_attrib</span></code> — Set attributes of a 3D object model.</p>
<h2 id="sec_synopsis">参数签名</h2>
<div data-if="hdevelop" style="display:inline;">
<p>
<code><b>set_object_model_3d_attrib</b>( :  : <a href="#ObjectModel3D"><i>ObjectModel3D</i></a>, <a href="#AttribName"><i>AttribName</i></a>, <a href="#AttachExtAttribTo"><i>AttachExtAttribTo</i></a>, <a href="#AttribValues"><i>AttribValues</i></a> : <a href="#ObjectModel3DOut"><i>ObjectModel3DOut</i></a>)</code></p>
</div>
<div data-if="c" style="display:none;">
<p>
<code>Herror <b>T_set_object_model_3d_attrib</b>(const Htuple <a href="#ObjectModel3D"><i>ObjectModel3D</i></a>, const Htuple <a href="#AttribName"><i>AttribName</i></a>, const Htuple <a href="#AttachExtAttribTo"><i>AttachExtAttribTo</i></a>, const Htuple <a href="#AttribValues"><i>AttribValues</i></a>, Htuple* <a href="#ObjectModel3DOut"><i>ObjectModel3DOut</i></a>)</code></p>
</div>
<div data-if="cpp" style="display:none;">
<p>
<code>void <b>SetObjectModel3dAttrib</b>(const HTuple&amp; <a href="#ObjectModel3D"><i>ObjectModel3D</i></a>, const HTuple&amp; <a href="#AttribName"><i>AttribName</i></a>, const HTuple&amp; <a href="#AttachExtAttribTo"><i>AttachExtAttribTo</i></a>, const HTuple&amp; <a href="#AttribValues"><i>AttribValues</i></a>, HTuple* <a href="#ObjectModel3DOut"><i>ObjectModel3DOut</i></a>)</code></p>
<p>
<code><a href="HObjectModel3D.html">HObjectModel3D</a> <a href="HObjectModel3D.html">HObjectModel3D</a>::<b>SetObjectModel3dAttrib</b>(const HTuple&amp; <a href="#AttribName"><i>AttribName</i></a>, const HString&amp; <a href="#AttachExtAttribTo"><i>AttachExtAttribTo</i></a>, const HTuple&amp; <a href="#AttribValues"><i>AttribValues</i></a>) const</code></p>
<p>
<code><a href="HObjectModel3D.html">HObjectModel3D</a> <a href="HObjectModel3D.html">HObjectModel3D</a>::<b>SetObjectModel3dAttrib</b>(const HString&amp; <a href="#AttribName"><i>AttribName</i></a>, const HString&amp; <a href="#AttachExtAttribTo"><i>AttachExtAttribTo</i></a>, double <a href="#AttribValues"><i>AttribValues</i></a>) const</code></p>
<p>
<code><a href="HObjectModel3D.html">HObjectModel3D</a> <a href="HObjectModel3D.html">HObjectModel3D</a>::<b>SetObjectModel3dAttrib</b>(const char* <a href="#AttribName"><i>AttribName</i></a>, const char* <a href="#AttachExtAttribTo"><i>AttachExtAttribTo</i></a>, double <a href="#AttribValues"><i>AttribValues</i></a>) const</code></p>
<p>
<code><a href="HObjectModel3D.html">HObjectModel3D</a> <a href="HObjectModel3D.html">HObjectModel3D</a>::<b>SetObjectModel3dAttrib</b>(const wchar_t* <a href="#AttribName"><i>AttribName</i></a>, const wchar_t* <a href="#AttachExtAttribTo"><i>AttachExtAttribTo</i></a>, double <a href="#AttribValues"><i>AttribValues</i></a>) const  <span class="signnote">
            (
            Windows only)
          </span></code></p>
</div>
<div data-if="com" style="display:none;"></div>
<div data-if="dotnet" style="display:none;">
<p>
<code>static void <a href="HOperatorSet.html">HOperatorSet</a>.<b>SetObjectModel3dAttrib</b>(<a href="HTuple.html">HTuple</a> <a href="#ObjectModel3D"><i>objectModel3D</i></a>, <a href="HTuple.html">HTuple</a> <a href="#AttribName"><i>attribName</i></a>, <a href="HTuple.html">HTuple</a> <a href="#AttachExtAttribTo"><i>attachExtAttribTo</i></a>, <a href="HTuple.html">HTuple</a> <a href="#AttribValues"><i>attribValues</i></a>, out <a href="HTuple.html">HTuple</a> <a href="#ObjectModel3DOut"><i>objectModel3DOut</i></a>)</code></p>
<p>
<code><a href="HObjectModel3D.html">HObjectModel3D</a> <a href="HObjectModel3D.html">HObjectModel3D</a>.<b>SetObjectModel3dAttrib</b>(<a href="HTuple.html">HTuple</a> <a href="#AttribName"><i>attribName</i></a>, string <a href="#AttachExtAttribTo"><i>attachExtAttribTo</i></a>, <a href="HTuple.html">HTuple</a> <a href="#AttribValues"><i>attribValues</i></a>)</code></p>
<p>
<code><a href="HObjectModel3D.html">HObjectModel3D</a> <a href="HObjectModel3D.html">HObjectModel3D</a>.<b>SetObjectModel3dAttrib</b>(string <a href="#AttribName"><i>attribName</i></a>, string <a href="#AttachExtAttribTo"><i>attachExtAttribTo</i></a>, double <a href="#AttribValues"><i>attribValues</i></a>)</code></p>
</div>
<div data-if="python" style="display:none;">
<p>
<code>def <b>set_object_model_3d_attrib</b>(<a href="#ObjectModel3D"><i>object_model_3d</i></a>: HHandle, <a href="#AttribName"><i>attrib_name</i></a>: MaybeSequence[str], <a href="#AttachExtAttribTo"><i>attach_ext_attrib_to</i></a>: str, <a href="#AttribValues"><i>attrib_values</i></a>: MaybeSequence[Union[float, int]]) -&gt; HHandle</code></p>
</div>
<h2 id="sec_description">描述</h2>
<p><code><span data-if="hdevelop" style="display:inline">set_object_model_3d_attrib</span><span data-if="c" style="display:none">set_object_model_3d_attrib</span><span data-if="cpp" style="display:none">SetObjectModel3dAttrib</span><span data-if="com" style="display:none">SetObjectModel3dAttrib</span><span data-if="dotnet" style="display:none">SetObjectModel3dAttrib</span><span data-if="python" style="display:none">set_object_model_3d_attrib</span></code> sets the standard attributes or the
extended attributes given in <a href="#AttribName"><i><code><span data-if="hdevelop" style="display:inline">AttribName</span><span data-if="c" style="display:none">AttribName</span><span data-if="cpp" style="display:none">AttribName</span><span data-if="com" style="display:none">AttribName</span><span data-if="dotnet" style="display:none">attribName</span><span data-if="python" style="display:none">attrib_name</span></code></i></a> of a 3D object model
<a href="#ObjectModel3D"><i><code><span data-if="hdevelop" style="display:inline">ObjectModel3D</span><span data-if="c" style="display:none">ObjectModel3D</span><span data-if="cpp" style="display:none">ObjectModel3D</span><span data-if="com" style="display:none">ObjectModel3D</span><span data-if="dotnet" style="display:none">objectModel3D</span><span data-if="python" style="display:none">object_model_3d</span></code></i></a> to the values in <a href="#AttribValues"><i><code><span data-if="hdevelop" style="display:inline">AttribValues</span><span data-if="c" style="display:none">AttribValues</span><span data-if="cpp" style="display:none">AttribValues</span><span data-if="com" style="display:none">AttribValues</span><span data-if="dotnet" style="display:none">attribValues</span><span data-if="python" style="display:none">attrib_values</span></code></i></a> and returns
a 3D object model with the new attribute values in <a href="#ObjectModel3DOut"><i><code><span data-if="hdevelop" style="display:inline">ObjectModel3DOut</span><span data-if="c" style="display:none">ObjectModel3DOut</span><span data-if="cpp" style="display:none">ObjectModel3DOut</span><span data-if="com" style="display:none">ObjectModel3DOut</span><span data-if="dotnet" style="display:none">objectModel3DOut</span><span data-if="python" style="display:none">object_model_3dout</span></code></i></a>.
<code><span data-if="hdevelop" style="display:inline">set_object_model_3d_attrib</span><span data-if="c" style="display:none">set_object_model_3d_attrib</span><span data-if="cpp" style="display:none">SetObjectModel3dAttrib</span><span data-if="com" style="display:none">SetObjectModel3dAttrib</span><span data-if="dotnet" style="display:none">SetObjectModel3dAttrib</span><span data-if="python" style="display:none">set_object_model_3d_attrib</span></code> is identical to
<a href="set_object_model_3d_attrib_mod.html"><code><span data-if="hdevelop" style="display:inline">set_object_model_3d_attrib_mod</span><span data-if="c" style="display:none">set_object_model_3d_attrib_mod</span><span data-if="cpp" style="display:none">SetObjectModel3dAttribMod</span><span data-if="com" style="display:none">SetObjectModel3dAttribMod</span><span data-if="dotnet" style="display:none">SetObjectModel3dAttribMod</span><span data-if="python" style="display:none">set_object_model_3d_attrib_mod</span></code></a> with the exception that it creates a
new 3D object model and leaves the original 3D object model unchanged.
It is possible to attach the values of extended attributes to
already existing standard attributes of the 3D object model by setting the
parameter <a href="#AttachExtAttribTo"><i><code><span data-if="hdevelop" style="display:inline">AttachExtAttribTo</span><span data-if="c" style="display:none">AttachExtAttribTo</span><span data-if="cpp" style="display:none">AttachExtAttribTo</span><span data-if="com" style="display:none">AttachExtAttribTo</span><span data-if="dotnet" style="display:none">attachExtAttribTo</span><span data-if="python" style="display:none">attach_ext_attrib_to</span></code></i></a>. For standard attributes,
<a href="#AttachExtAttribTo"><i><code><span data-if="hdevelop" style="display:inline">AttachExtAttribTo</span><span data-if="c" style="display:none">AttachExtAttribTo</span><span data-if="cpp" style="display:none">AttachExtAttribTo</span><span data-if="com" style="display:none">AttachExtAttribTo</span><span data-if="dotnet" style="display:none">attachExtAttribTo</span><span data-if="python" style="display:none">attach_ext_attrib_to</span></code></i></a> is ignored.
</p>
<p>If the attributes in <a href="#AttribName"><i><code><span data-if="hdevelop" style="display:inline">AttribName</span><span data-if="c" style="display:none">AttribName</span><span data-if="cpp" style="display:none">AttribName</span><span data-if="com" style="display:none">AttribName</span><span data-if="dotnet" style="display:none">attribName</span><span data-if="python" style="display:none">attrib_name</span></code></i></a> do not exist, they are created if
possible.
If already existing attributes are set, the length of <a href="#AttribValues"><i><code><span data-if="hdevelop" style="display:inline">AttribValues</span><span data-if="c" style="display:none">AttribValues</span><span data-if="cpp" style="display:none">AttribValues</span><span data-if="com" style="display:none">AttribValues</span><span data-if="dotnet" style="display:none">attribValues</span><span data-if="python" style="display:none">attrib_values</span></code></i></a>
must match the existing attribute values. In this case the existing attribute
values are replaced.
If extended attributes are attached to already existing standard
attributes with <a href="#AttachExtAttribTo"><i><code><span data-if="hdevelop" style="display:inline">AttachExtAttribTo</span><span data-if="c" style="display:none">AttachExtAttribTo</span><span data-if="cpp" style="display:none">AttachExtAttribTo</span><span data-if="com" style="display:none">AttachExtAttribTo</span><span data-if="dotnet" style="display:none">attachExtAttribTo</span><span data-if="python" style="display:none">attach_ext_attrib_to</span></code></i></a>, the length of <a href="#AttribValues"><i><code><span data-if="hdevelop" style="display:inline">AttribValues</span><span data-if="c" style="display:none">AttribValues</span><span data-if="cpp" style="display:none">AttribValues</span><span data-if="com" style="display:none">AttribValues</span><span data-if="dotnet" style="display:none">attribValues</span><span data-if="python" style="display:none">attrib_values</span></code></i></a>
must match the existing attribute values.
</p>
<h3>Standard attributes</h3>
<p>The following standard attributes can be set:
</p>
<dl class="generic">

<dt><b><i><span data-if="hdevelop" style="display:inline">'point_coord_x'</span><span data-if="c" style="display:none">"point_coord_x"</span><span data-if="cpp" style="display:none">"point_coord_x"</span><span data-if="com" style="display:none">"point_coord_x"</span><span data-if="dotnet" style="display:none">"point_coord_x"</span><span data-if="python" style="display:none">"point_coord_x"</span></i>:</b></dt>
<dd><p>

The x-coordinates of the 3D points are set with
<a href="#AttribValues"><i><code><span data-if="hdevelop" style="display:inline">AttribValues</span><span data-if="c" style="display:none">AttribValues</span><span data-if="cpp" style="display:none">AttribValues</span><span data-if="com" style="display:none">AttribValues</span><span data-if="dotnet" style="display:none">attribValues</span><span data-if="python" style="display:none">attrib_values</span></code></i></a>.  If the attribute does not exist, the
x-, y- and z-coordinates must be set with <i><span data-if="hdevelop" style="display:inline">'point_coord_x'</span><span data-if="c" style="display:none">"point_coord_x"</span><span data-if="cpp" style="display:none">"point_coord_x"</span><span data-if="com" style="display:none">"point_coord_x"</span><span data-if="dotnet" style="display:none">"point_coord_x"</span><span data-if="python" style="display:none">"point_coord_x"</span></i>,
<i><span data-if="hdevelop" style="display:inline">'point_coord_y'</span><span data-if="c" style="display:none">"point_coord_y"</span><span data-if="cpp" style="display:none">"point_coord_y"</span><span data-if="com" style="display:none">"point_coord_y"</span><span data-if="dotnet" style="display:none">"point_coord_y"</span><span data-if="python" style="display:none">"point_coord_y"</span></i>, and <i><span data-if="hdevelop" style="display:inline">'point_coord_z'</span><span data-if="c" style="display:none">"point_coord_z"</span><span data-if="cpp" style="display:none">"point_coord_z"</span><span data-if="com" style="display:none">"point_coord_z"</span><span data-if="dotnet" style="display:none">"point_coord_z"</span><span data-if="python" style="display:none">"point_coord_z"</span></i> at once.  The
number of x-, y-, and z-coordinates must be identical.
</p></dd>

<dt><b><i><span data-if="hdevelop" style="display:inline">'point_coord_y'</span><span data-if="c" style="display:none">"point_coord_y"</span><span data-if="cpp" style="display:none">"point_coord_y"</span><span data-if="com" style="display:none">"point_coord_y"</span><span data-if="dotnet" style="display:none">"point_coord_y"</span><span data-if="python" style="display:none">"point_coord_y"</span></i>:</b></dt>
<dd><p>

The y-coordinates of the 3D points are set with
<a href="#AttribValues"><i><code><span data-if="hdevelop" style="display:inline">AttribValues</span><span data-if="c" style="display:none">AttribValues</span><span data-if="cpp" style="display:none">AttribValues</span><span data-if="com" style="display:none">AttribValues</span><span data-if="dotnet" style="display:none">attribValues</span><span data-if="python" style="display:none">attrib_values</span></code></i></a>.  If the attribute does not exist, the
x-, y- and z-coordinates must be set with <i><span data-if="hdevelop" style="display:inline">'point_coord_x'</span><span data-if="c" style="display:none">"point_coord_x"</span><span data-if="cpp" style="display:none">"point_coord_x"</span><span data-if="com" style="display:none">"point_coord_x"</span><span data-if="dotnet" style="display:none">"point_coord_x"</span><span data-if="python" style="display:none">"point_coord_x"</span></i>,
<i><span data-if="hdevelop" style="display:inline">'point_coord_y'</span><span data-if="c" style="display:none">"point_coord_y"</span><span data-if="cpp" style="display:none">"point_coord_y"</span><span data-if="com" style="display:none">"point_coord_y"</span><span data-if="dotnet" style="display:none">"point_coord_y"</span><span data-if="python" style="display:none">"point_coord_y"</span></i>, and <i><span data-if="hdevelop" style="display:inline">'point_coord_z'</span><span data-if="c" style="display:none">"point_coord_z"</span><span data-if="cpp" style="display:none">"point_coord_z"</span><span data-if="com" style="display:none">"point_coord_z"</span><span data-if="dotnet" style="display:none">"point_coord_z"</span><span data-if="python" style="display:none">"point_coord_z"</span></i> at once.  The
number of x-, y-, and z-coordinates must be identical.
</p></dd>

<dt><b><i><span data-if="hdevelop" style="display:inline">'point_coord_z'</span><span data-if="c" style="display:none">"point_coord_z"</span><span data-if="cpp" style="display:none">"point_coord_z"</span><span data-if="com" style="display:none">"point_coord_z"</span><span data-if="dotnet" style="display:none">"point_coord_z"</span><span data-if="python" style="display:none">"point_coord_z"</span></i>:</b></dt>
<dd><p>

The z-coordinates of the 3D points are set with
<a href="#AttribValues"><i><code><span data-if="hdevelop" style="display:inline">AttribValues</span><span data-if="c" style="display:none">AttribValues</span><span data-if="cpp" style="display:none">AttribValues</span><span data-if="com" style="display:none">AttribValues</span><span data-if="dotnet" style="display:none">attribValues</span><span data-if="python" style="display:none">attrib_values</span></code></i></a>.  If the attribute does not exist, the
x-, y- and z-coordinates must be set with <i><span data-if="hdevelop" style="display:inline">'point_coord_x'</span><span data-if="c" style="display:none">"point_coord_x"</span><span data-if="cpp" style="display:none">"point_coord_x"</span><span data-if="com" style="display:none">"point_coord_x"</span><span data-if="dotnet" style="display:none">"point_coord_x"</span><span data-if="python" style="display:none">"point_coord_x"</span></i>,
<i><span data-if="hdevelop" style="display:inline">'point_coord_y'</span><span data-if="c" style="display:none">"point_coord_y"</span><span data-if="cpp" style="display:none">"point_coord_y"</span><span data-if="com" style="display:none">"point_coord_y"</span><span data-if="dotnet" style="display:none">"point_coord_y"</span><span data-if="python" style="display:none">"point_coord_y"</span></i>, and <i><span data-if="hdevelop" style="display:inline">'point_coord_z'</span><span data-if="c" style="display:none">"point_coord_z"</span><span data-if="cpp" style="display:none">"point_coord_z"</span><span data-if="com" style="display:none">"point_coord_z"</span><span data-if="dotnet" style="display:none">"point_coord_z"</span><span data-if="python" style="display:none">"point_coord_z"</span></i> at once.  The
number of x-, y-, and z-coordinates must be identical.
</p></dd>

<dt><b><i><span data-if="hdevelop" style="display:inline">'point_normal_x'</span><span data-if="c" style="display:none">"point_normal_x"</span><span data-if="cpp" style="display:none">"point_normal_x"</span><span data-if="com" style="display:none">"point_normal_x"</span><span data-if="dotnet" style="display:none">"point_normal_x"</span><span data-if="python" style="display:none">"point_normal_x"</span></i>:</b></dt>
<dd><p>

The x-components of the 3D point normals of the 3D points are
set with <a href="#AttribValues"><i><code><span data-if="hdevelop" style="display:inline">AttribValues</span><span data-if="c" style="display:none">AttribValues</span><span data-if="cpp" style="display:none">AttribValues</span><span data-if="com" style="display:none">AttribValues</span><span data-if="dotnet" style="display:none">attribValues</span><span data-if="python" style="display:none">attrib_values</span></code></i></a>. If the attribute does not
exist, the x-, y- and z-components of 3D point normals must be set
with <i><span data-if="hdevelop" style="display:inline">'point_normal_x'</span><span data-if="c" style="display:none">"point_normal_x"</span><span data-if="cpp" style="display:none">"point_normal_x"</span><span data-if="com" style="display:none">"point_normal_x"</span><span data-if="dotnet" style="display:none">"point_normal_x"</span><span data-if="python" style="display:none">"point_normal_x"</span></i>, <i><span data-if="hdevelop" style="display:inline">'point_normal_y'</span><span data-if="c" style="display:none">"point_normal_y"</span><span data-if="cpp" style="display:none">"point_normal_y"</span><span data-if="com" style="display:none">"point_normal_y"</span><span data-if="dotnet" style="display:none">"point_normal_y"</span><span data-if="python" style="display:none">"point_normal_y"</span></i>, and
<i><span data-if="hdevelop" style="display:inline">'point_normal_z'</span><span data-if="c" style="display:none">"point_normal_z"</span><span data-if="cpp" style="display:none">"point_normal_z"</span><span data-if="com" style="display:none">"point_normal_z"</span><span data-if="dotnet" style="display:none">"point_normal_z"</span><span data-if="python" style="display:none">"point_normal_z"</span></i> at once. The number of x-, y-, and
z-components must be identical
to the number of 3D points. Note that the given 3D point normals will
not be normalized to a length of 1.
</p></dd>

<dt><b><i><span data-if="hdevelop" style="display:inline">'point_normal_y'</span><span data-if="c" style="display:none">"point_normal_y"</span><span data-if="cpp" style="display:none">"point_normal_y"</span><span data-if="com" style="display:none">"point_normal_y"</span><span data-if="dotnet" style="display:none">"point_normal_y"</span><span data-if="python" style="display:none">"point_normal_y"</span></i>:</b></dt>
<dd><p>

The y-components of the 3D point normals of the 3D points are
set with <a href="#AttribValues"><i><code><span data-if="hdevelop" style="display:inline">AttribValues</span><span data-if="c" style="display:none">AttribValues</span><span data-if="cpp" style="display:none">AttribValues</span><span data-if="com" style="display:none">AttribValues</span><span data-if="dotnet" style="display:none">attribValues</span><span data-if="python" style="display:none">attrib_values</span></code></i></a>. If the attribute does not
exist, the x-, y- and z-components of 3D point normals must be set
with <i><span data-if="hdevelop" style="display:inline">'point_normal_x'</span><span data-if="c" style="display:none">"point_normal_x"</span><span data-if="cpp" style="display:none">"point_normal_x"</span><span data-if="com" style="display:none">"point_normal_x"</span><span data-if="dotnet" style="display:none">"point_normal_x"</span><span data-if="python" style="display:none">"point_normal_x"</span></i>, <i><span data-if="hdevelop" style="display:inline">'point_normal_y'</span><span data-if="c" style="display:none">"point_normal_y"</span><span data-if="cpp" style="display:none">"point_normal_y"</span><span data-if="com" style="display:none">"point_normal_y"</span><span data-if="dotnet" style="display:none">"point_normal_y"</span><span data-if="python" style="display:none">"point_normal_y"</span></i>, and
<i><span data-if="hdevelop" style="display:inline">'point_normal_z'</span><span data-if="c" style="display:none">"point_normal_z"</span><span data-if="cpp" style="display:none">"point_normal_z"</span><span data-if="com" style="display:none">"point_normal_z"</span><span data-if="dotnet" style="display:none">"point_normal_z"</span><span data-if="python" style="display:none">"point_normal_z"</span></i> at once.  The number of x-, y-, and
z-components must be identical
to the number of 3D points. Note that the given 3D point normals will
not be normalized to a length of 1.
</p></dd>

<dt><b><i><span data-if="hdevelop" style="display:inline">'point_normal_z'</span><span data-if="c" style="display:none">"point_normal_z"</span><span data-if="cpp" style="display:none">"point_normal_z"</span><span data-if="com" style="display:none">"point_normal_z"</span><span data-if="dotnet" style="display:none">"point_normal_z"</span><span data-if="python" style="display:none">"point_normal_z"</span></i>:</b></dt>
<dd><p>

The z-components of the 3D point normals of the 3D points are
set with <a href="#AttribValues"><i><code><span data-if="hdevelop" style="display:inline">AttribValues</span><span data-if="c" style="display:none">AttribValues</span><span data-if="cpp" style="display:none">AttribValues</span><span data-if="com" style="display:none">AttribValues</span><span data-if="dotnet" style="display:none">attribValues</span><span data-if="python" style="display:none">attrib_values</span></code></i></a>. If the attribute does not
exist, the x-, y- and z-components of 3D point normals must be set
with <i><span data-if="hdevelop" style="display:inline">'point_normal_x'</span><span data-if="c" style="display:none">"point_normal_x"</span><span data-if="cpp" style="display:none">"point_normal_x"</span><span data-if="com" style="display:none">"point_normal_x"</span><span data-if="dotnet" style="display:none">"point_normal_x"</span><span data-if="python" style="display:none">"point_normal_x"</span></i>, <i><span data-if="hdevelop" style="display:inline">'point_normal_y'</span><span data-if="c" style="display:none">"point_normal_y"</span><span data-if="cpp" style="display:none">"point_normal_y"</span><span data-if="com" style="display:none">"point_normal_y"</span><span data-if="dotnet" style="display:none">"point_normal_y"</span><span data-if="python" style="display:none">"point_normal_y"</span></i>, and
<i><span data-if="hdevelop" style="display:inline">'point_normal_z'</span><span data-if="c" style="display:none">"point_normal_z"</span><span data-if="cpp" style="display:none">"point_normal_z"</span><span data-if="com" style="display:none">"point_normal_z"</span><span data-if="dotnet" style="display:none">"point_normal_z"</span><span data-if="python" style="display:none">"point_normal_z"</span></i> at once.  The number of x-, y-, and
z-components must be identical
to the number of 3D points. Note that the given 3D point normals will
not be normalized to a length of 1.
</p></dd>

<dt><b><i><span data-if="hdevelop" style="display:inline">'triangles'</span><span data-if="c" style="display:none">"triangles"</span><span data-if="cpp" style="display:none">"triangles"</span><span data-if="com" style="display:none">"triangles"</span><span data-if="dotnet" style="display:none">"triangles"</span><span data-if="python" style="display:none">"triangles"</span></i>:</b></dt>
<dd><p>

The indices of the 3D points that represent triangles are set with
<a href="#AttribValues"><i><code><span data-if="hdevelop" style="display:inline">AttribValues</span><span data-if="c" style="display:none">AttribValues</span><span data-if="cpp" style="display:none">AttribValues</span><span data-if="com" style="display:none">AttribValues</span><span data-if="dotnet" style="display:none">attribValues</span><span data-if="python" style="display:none">attrib_values</span></code></i></a> in the following order:
The first three values of
<a href="#AttribValues"><i><code><span data-if="hdevelop" style="display:inline">AttribValues</span><span data-if="c" style="display:none">AttribValues</span><span data-if="cpp" style="display:none">AttribValues</span><span data-if="com" style="display:none">AttribValues</span><span data-if="dotnet" style="display:none">attribValues</span><span data-if="python" style="display:none">attrib_values</span></code></i></a> (input values 0,1,2) represent the first triangle
and contain the indices of the corresponding 3D points
of the triangle corners.
The second three values (input values 3,4,5) represent the
second triangle etc.
The direction of the triangles results from the
order of the point indices.
</p></dd>

<dt><b><i><span data-if="hdevelop" style="display:inline">'polygons'</span><span data-if="c" style="display:none">"polygons"</span><span data-if="cpp" style="display:none">"polygons"</span><span data-if="com" style="display:none">"polygons"</span><span data-if="dotnet" style="display:none">"polygons"</span><span data-if="python" style="display:none">"polygons"</span></i>:</b></dt>
<dd><p>

The indices of the 3D points that represent polygons are set with
<a href="#AttribValues"><i><code><span data-if="hdevelop" style="display:inline">AttribValues</span><span data-if="c" style="display:none">AttribValues</span><span data-if="cpp" style="display:none">AttribValues</span><span data-if="com" style="display:none">AttribValues</span><span data-if="dotnet" style="display:none">attribValues</span><span data-if="python" style="display:none">attrib_values</span></code></i></a> in the following order:
The first value of <a href="#AttribValues"><i><code><span data-if="hdevelop" style="display:inline">AttribValues</span><span data-if="c" style="display:none">AttribValues</span><span data-if="cpp" style="display:none">AttribValues</span><span data-if="com" style="display:none">AttribValues</span><span data-if="dotnet" style="display:none">attribValues</span><span data-if="python" style="display:none">attrib_values</span></code></i></a> contains
the number n of points of the first polygon. The following values
(input values 1,2,..,n) contains the
indices of the points of the first polygon. The next value
(input value n+1) contains the number m of the points of the
second polygon.
The following m values (input values n+2,n+3,..,n+1+m)
contain the indices of the points of the second polygon etc.
</p></dd>

<dt><b><i><span data-if="hdevelop" style="display:inline">'lines'</span><span data-if="c" style="display:none">"lines"</span><span data-if="cpp" style="display:none">"lines"</span><span data-if="com" style="display:none">"lines"</span><span data-if="dotnet" style="display:none">"lines"</span><span data-if="python" style="display:none">"lines"</span></i>:</b></dt>
<dd><p>

The indices of the 3D points that represent polylines are set with
<a href="#AttribValues"><i><code><span data-if="hdevelop" style="display:inline">AttribValues</span><span data-if="c" style="display:none">AttribValues</span><span data-if="cpp" style="display:none">AttribValues</span><span data-if="com" style="display:none">AttribValues</span><span data-if="dotnet" style="display:none">attribValues</span><span data-if="python" style="display:none">attrib_values</span></code></i></a> in the following order:
The first value of <a href="#AttribValues"><i><code><span data-if="hdevelop" style="display:inline">AttribValues</span><span data-if="c" style="display:none">AttribValues</span><span data-if="cpp" style="display:none">AttribValues</span><span data-if="com" style="display:none">AttribValues</span><span data-if="dotnet" style="display:none">attribValues</span><span data-if="python" style="display:none">attrib_values</span></code></i></a> contains the number n
of points of the first polyline.  The following values
(input values 1,2,..,n) represent the indices of the points
of the first polyline.
The next value (input value n+1) contains the number m of
points of the second polyline. The following m values
(input values n+2,n+3,..,n+1+m) represent the indices of the
points of the second polyline etc.  All indices correspond to
already existing 3D points.
</p></dd>

<dt><b><i><span data-if="hdevelop" style="display:inline">'xyz_mapping'</span><span data-if="c" style="display:none">"xyz_mapping"</span><span data-if="cpp" style="display:none">"xyz_mapping"</span><span data-if="com" style="display:none">"xyz_mapping"</span><span data-if="dotnet" style="display:none">"xyz_mapping"</span><span data-if="python" style="display:none">"xyz_mapping"</span></i>:</b></dt>
<dd><p>
 The mapping of 3D points to image
coordinates is  set with <a href="#AttribValues"><i><code><span data-if="hdevelop" style="display:inline">AttribValues</span><span data-if="c" style="display:none">AttribValues</span><span data-if="cpp" style="display:none">AttribValues</span><span data-if="com" style="display:none">AttribValues</span><span data-if="dotnet" style="display:none">attribValues</span><span data-if="python" style="display:none">attrib_values</span></code></i></a> in the following
order:  The first two values of
<a href="#AttribValues"><i><code><span data-if="hdevelop" style="display:inline">AttribValues</span><span data-if="c" style="display:none">AttribValues</span><span data-if="cpp" style="display:none">AttribValues</span><span data-if="com" style="display:none">AttribValues</span><span data-if="dotnet" style="display:none">attribValues</span><span data-if="python" style="display:none">attrib_values</span></code></i></a> (input value 0 and 1) contain the width
and height of the respective image. The following n
values (input values 2,3,..,n+1, with n being the number
of 3D points) represent the row coordinates of the n points
given in image coordinates.  The next n input values (input
values n+2,n+3,..,n*2+1) represent the column coordinates of the
n points in image coordinates.  Hence, the total number of input
values is n*2+2.
</p></dd>
</dl>
<h3>Extended attributes</h3>
<p>Extended attributes are attributes, that can be derived from standard
attributes by special operators (e.g., <a href="distance_object_model_3d.html"><code><span data-if="hdevelop" style="display:inline">distance_object_model_3d</span><span data-if="c" style="display:none">distance_object_model_3d</span><span data-if="cpp" style="display:none">DistanceObjectModel3d</span><span data-if="com" style="display:none">DistanceObjectModel3d</span><span data-if="dotnet" style="display:none">DistanceObjectModel3d</span><span data-if="python" style="display:none">distance_object_model_3d</span></code></a>),
or user-defined attributes. Predefined extended attributes can only be
set separately, for these attributes <a href="#AttachExtAttribTo"><i><code><span data-if="hdevelop" style="display:inline">AttachExtAttribTo</span><span data-if="c" style="display:none">AttachExtAttribTo</span><span data-if="cpp" style="display:none">AttachExtAttribTo</span><span data-if="com" style="display:none">AttachExtAttribTo</span><span data-if="dotnet" style="display:none">attachExtAttribTo</span><span data-if="python" style="display:none">attach_ext_attrib_to</span></code></i></a>
will be ignored. The names of user-defined extended attributes are arbitrary,
but must start with the prefix <i><span data-if="hdevelop" style="display:inline">'&amp;'</span><span data-if="c" style="display:none">"&amp;"</span><span data-if="cpp" style="display:none">"&amp;"</span><span data-if="com" style="display:none">"&amp;"</span><span data-if="dotnet" style="display:none">"&amp;"</span><span data-if="python" style="display:none">"&amp;"</span></i>, e.g., <i><span data-if="hdevelop" style="display:inline">'&amp;my_attrib'</span><span data-if="c" style="display:none">"&amp;my_attrib"</span><span data-if="cpp" style="display:none">"&amp;my_attrib"</span><span data-if="com" style="display:none">"&amp;my_attrib"</span><span data-if="dotnet" style="display:none">"&amp;my_attrib"</span><span data-if="python" style="display:none">"&amp;my_attrib"</span></i>.
Extended attributes can have an arbitrary number of floating point
values.
</p>
<p>The following predefined extended attributes can be set:
</p>
<dl class="generic">

<dt><b><i><span data-if="hdevelop" style="display:inline">'original_point_indices'</span><span data-if="c" style="display:none">"original_point_indices"</span><span data-if="cpp" style="display:none">"original_point_indices"</span><span data-if="com" style="display:none">"original_point_indices"</span><span data-if="dotnet" style="display:none">"original_point_indices"</span><span data-if="python" style="display:none">"original_point_indices"</span></i>:</b></dt>
<dd><p>

The original points indices of the 3D points are set with
<a href="#AttribValues"><i><code><span data-if="hdevelop" style="display:inline">AttribValues</span><span data-if="c" style="display:none">AttribValues</span><span data-if="cpp" style="display:none">AttribValues</span><span data-if="com" style="display:none">AttribValues</span><span data-if="dotnet" style="display:none">attribValues</span><span data-if="python" style="display:none">attrib_values</span></code></i></a>. The number of the original points indices must be
identical to the number of 3D points.
</p></dd>

<dt><b><i><span data-if="hdevelop" style="display:inline">'score'</span><span data-if="c" style="display:none">"score"</span><span data-if="cpp" style="display:none">"score"</span><span data-if="com" style="display:none">"score"</span><span data-if="dotnet" style="display:none">"score"</span><span data-if="python" style="display:none">"score"</span></i>:</b></dt>
<dd><p>

The score of a 3D reconstruction of the 3D points are set with
<a href="#AttribValues"><i><code><span data-if="hdevelop" style="display:inline">AttribValues</span><span data-if="c" style="display:none">AttribValues</span><span data-if="cpp" style="display:none">AttribValues</span><span data-if="com" style="display:none">AttribValues</span><span data-if="dotnet" style="display:none">attribValues</span><span data-if="python" style="display:none">attrib_values</span></code></i></a>. Since the score is evaluated separately for each
3D point, the number of the score-components must be identical to the
number of 3D points.
</p></dd>

<dt><b><i><span data-if="hdevelop" style="display:inline">'red'</span><span data-if="c" style="display:none">"red"</span><span data-if="cpp" style="display:none">"red"</span><span data-if="com" style="display:none">"red"</span><span data-if="dotnet" style="display:none">"red"</span><span data-if="python" style="display:none">"red"</span></i>:</b></dt>
<dd><p>

The red channel intensities of the 3D points are set with
<a href="#AttribValues"><i><code><span data-if="hdevelop" style="display:inline">AttribValues</span><span data-if="c" style="display:none">AttribValues</span><span data-if="cpp" style="display:none">AttribValues</span><span data-if="com" style="display:none">AttribValues</span><span data-if="dotnet" style="display:none">attribValues</span><span data-if="python" style="display:none">attrib_values</span></code></i></a>. The number of color values must be identical
to the number of 3D points.
</p></dd>

<dt><b><i><span data-if="hdevelop" style="display:inline">'green'</span><span data-if="c" style="display:none">"green"</span><span data-if="cpp" style="display:none">"green"</span><span data-if="com" style="display:none">"green"</span><span data-if="dotnet" style="display:none">"green"</span><span data-if="python" style="display:none">"green"</span></i>:</b></dt>
<dd><p>

The green channel intensities of the 3D points are set with
<a href="#AttribValues"><i><code><span data-if="hdevelop" style="display:inline">AttribValues</span><span data-if="c" style="display:none">AttribValues</span><span data-if="cpp" style="display:none">AttribValues</span><span data-if="com" style="display:none">AttribValues</span><span data-if="dotnet" style="display:none">attribValues</span><span data-if="python" style="display:none">attrib_values</span></code></i></a>. The number of color values must be identical
to the number of 3D points.
</p></dd>

<dt><b><i><span data-if="hdevelop" style="display:inline">'blue'</span><span data-if="c" style="display:none">"blue"</span><span data-if="cpp" style="display:none">"blue"</span><span data-if="com" style="display:none">"blue"</span><span data-if="dotnet" style="display:none">"blue"</span><span data-if="python" style="display:none">"blue"</span></i>:</b></dt>
<dd><p>

The blue channel intensities of the 3D points are set with
<a href="#AttribValues"><i><code><span data-if="hdevelop" style="display:inline">AttribValues</span><span data-if="c" style="display:none">AttribValues</span><span data-if="cpp" style="display:none">AttribValues</span><span data-if="com" style="display:none">AttribValues</span><span data-if="dotnet" style="display:none">attribValues</span><span data-if="python" style="display:none">attrib_values</span></code></i></a>. The number of color values must be identical
to the number of 3D points.
</p></dd>

<dt><b><i><span data-if="hdevelop" style="display:inline">'edge_dir_x'</span><span data-if="c" style="display:none">"edge_dir_x"</span><span data-if="cpp" style="display:none">"edge_dir_x"</span><span data-if="com" style="display:none">"edge_dir_x"</span><span data-if="dotnet" style="display:none">"edge_dir_x"</span><span data-if="python" style="display:none">"edge_dir_x"</span></i>:</b></dt>
<dd><p>

The x-component of a vector that is perpendicular to the
edge direction and the viewing direction.
</p></dd>

<dt><b><i><span data-if="hdevelop" style="display:inline">'edge_dir_y'</span><span data-if="c" style="display:none">"edge_dir_y"</span><span data-if="cpp" style="display:none">"edge_dir_y"</span><span data-if="com" style="display:none">"edge_dir_y"</span><span data-if="dotnet" style="display:none">"edge_dir_y"</span><span data-if="python" style="display:none">"edge_dir_y"</span></i>:</b></dt>
<dd><p>

The y-component of a vector that is perpendicular to the
edge direction and the viewing direction.
</p></dd>

<dt><b><i><span data-if="hdevelop" style="display:inline">'edge_dir_z'</span><span data-if="c" style="display:none">"edge_dir_z"</span><span data-if="cpp" style="display:none">"edge_dir_z"</span><span data-if="com" style="display:none">"edge_dir_z"</span><span data-if="dotnet" style="display:none">"edge_dir_z"</span><span data-if="python" style="display:none">"edge_dir_z"</span></i>:</b></dt>
<dd><p>

The z-component of a vector that is perpendicular to the
edge direction and the viewing direction.
</p></dd>

<dt><b><i><span data-if="hdevelop" style="display:inline">'edge_amplitude'</span><span data-if="c" style="display:none">"edge_amplitude"</span><span data-if="cpp" style="display:none">"edge_amplitude"</span><span data-if="com" style="display:none">"edge_amplitude"</span><span data-if="dotnet" style="display:none">"edge_amplitude"</span><span data-if="python" style="display:none">"edge_amplitude"</span></i>:</b></dt>
<dd><p>

Contains the amplitude of edge points.
</p></dd>
</dl>
<p>Extended attributes can be attached to already existing standard attributes
of the 3D object model by setting the parameter <a href="#AttachExtAttribTo"><i><code><span data-if="hdevelop" style="display:inline">AttachExtAttribTo</span><span data-if="c" style="display:none">AttachExtAttribTo</span><span data-if="cpp" style="display:none">AttachExtAttribTo</span><span data-if="com" style="display:none">AttachExtAttribTo</span><span data-if="dotnet" style="display:none">attachExtAttribTo</span><span data-if="python" style="display:none">attach_ext_attrib_to</span></code></i></a>.
The following values of <a href="#AttachExtAttribTo"><i><code><span data-if="hdevelop" style="display:inline">AttachExtAttribTo</span><span data-if="c" style="display:none">AttachExtAttribTo</span><span data-if="cpp" style="display:none">AttachExtAttribTo</span><span data-if="com" style="display:none">AttachExtAttribTo</span><span data-if="dotnet" style="display:none">attachExtAttribTo</span><span data-if="python" style="display:none">attach_ext_attrib_to</span></code></i></a> are possible:
</p>
<dl class="generic">

<dt><b><i><span data-if="hdevelop" style="display:inline">'object'</span><span data-if="c" style="display:none">"object"</span><span data-if="cpp" style="display:none">"object"</span><span data-if="com" style="display:none">"object"</span><span data-if="dotnet" style="display:none">"object"</span><span data-if="python" style="display:none">"object"</span></i> or <i>[]</i>:</b></dt>
<dd><p>

If this value is set, the extended attribute specified in
<a href="#AttribName"><i><code><span data-if="hdevelop" style="display:inline">AttribName</span><span data-if="c" style="display:none">AttribName</span><span data-if="cpp" style="display:none">AttribName</span><span data-if="com" style="display:none">AttribName</span><span data-if="dotnet" style="display:none">attribName</span><span data-if="python" style="display:none">attrib_name</span></code></i></a> is associated to the 3D object model as a whole.
The number of values specified in <a href="#AttribValues"><i><code><span data-if="hdevelop" style="display:inline">AttribValues</span><span data-if="c" style="display:none">AttribValues</span><span data-if="cpp" style="display:none">AttribValues</span><span data-if="com" style="display:none">AttribValues</span><span data-if="dotnet" style="display:none">attribValues</span><span data-if="python" style="display:none">attrib_values</span></code></i></a> is not restricted.
</p></dd>

<dt><b><i><span data-if="hdevelop" style="display:inline">'points'</span><span data-if="c" style="display:none">"points"</span><span data-if="cpp" style="display:none">"points"</span><span data-if="com" style="display:none">"points"</span><span data-if="dotnet" style="display:none">"points"</span><span data-if="python" style="display:none">"points"</span></i>:</b></dt>
<dd><p>

If this value is set, the extended attribute specified in
<a href="#AttribName"><i><code><span data-if="hdevelop" style="display:inline">AttribName</span><span data-if="c" style="display:none">AttribName</span><span data-if="cpp" style="display:none">AttribName</span><span data-if="com" style="display:none">AttribName</span><span data-if="dotnet" style="display:none">attribName</span><span data-if="python" style="display:none">attrib_name</span></code></i></a> is associated to the 3D points of the object model.
The number of values specified in <a href="#AttribValues"><i><code><span data-if="hdevelop" style="display:inline">AttribValues</span><span data-if="c" style="display:none">AttribValues</span><span data-if="cpp" style="display:none">AttribValues</span><span data-if="com" style="display:none">AttribValues</span><span data-if="dotnet" style="display:none">attribValues</span><span data-if="python" style="display:none">attrib_values</span></code></i></a> must be the
same as the number of already existing 3D points.
</p></dd>

<dt><b><i><span data-if="hdevelop" style="display:inline">'triangles'</span><span data-if="c" style="display:none">"triangles"</span><span data-if="cpp" style="display:none">"triangles"</span><span data-if="com" style="display:none">"triangles"</span><span data-if="dotnet" style="display:none">"triangles"</span><span data-if="python" style="display:none">"triangles"</span></i>:</b></dt>
<dd><p>

If this value is set, the extended attribute specified in
<a href="#AttribName"><i><code><span data-if="hdevelop" style="display:inline">AttribName</span><span data-if="c" style="display:none">AttribName</span><span data-if="cpp" style="display:none">AttribName</span><span data-if="com" style="display:none">AttribName</span><span data-if="dotnet" style="display:none">attribName</span><span data-if="python" style="display:none">attrib_name</span></code></i></a> is associated to the triangles of the object model.
The number of values specified in <a href="#AttribValues"><i><code><span data-if="hdevelop" style="display:inline">AttribValues</span><span data-if="c" style="display:none">AttribValues</span><span data-if="cpp" style="display:none">AttribValues</span><span data-if="com" style="display:none">AttribValues</span><span data-if="dotnet" style="display:none">attribValues</span><span data-if="python" style="display:none">attrib_values</span></code></i></a> must be the
same as the number of already existing triangles.
</p></dd>

<dt><b><i><span data-if="hdevelop" style="display:inline">'polygons'</span><span data-if="c" style="display:none">"polygons"</span><span data-if="cpp" style="display:none">"polygons"</span><span data-if="com" style="display:none">"polygons"</span><span data-if="dotnet" style="display:none">"polygons"</span><span data-if="python" style="display:none">"polygons"</span></i>:</b></dt>
<dd><p>

If this value is set, the extended attribute specified in
<a href="#AttribName"><i><code><span data-if="hdevelop" style="display:inline">AttribName</span><span data-if="c" style="display:none">AttribName</span><span data-if="cpp" style="display:none">AttribName</span><span data-if="com" style="display:none">AttribName</span><span data-if="dotnet" style="display:none">attribName</span><span data-if="python" style="display:none">attrib_name</span></code></i></a> is associated to the polygons of the object model.
The number of values specified in <a href="#AttribValues"><i><code><span data-if="hdevelop" style="display:inline">AttribValues</span><span data-if="c" style="display:none">AttribValues</span><span data-if="cpp" style="display:none">AttribValues</span><span data-if="com" style="display:none">AttribValues</span><span data-if="dotnet" style="display:none">attribValues</span><span data-if="python" style="display:none">attrib_values</span></code></i></a> must be the
same as the number of already existing polygons.
</p></dd>

<dt><b><i><span data-if="hdevelop" style="display:inline">'lines'</span><span data-if="c" style="display:none">"lines"</span><span data-if="cpp" style="display:none">"lines"</span><span data-if="com" style="display:none">"lines"</span><span data-if="dotnet" style="display:none">"lines"</span><span data-if="python" style="display:none">"lines"</span></i>:</b></dt>
<dd><p>

If this value is set, the extended attribute specified in
<a href="#AttribName"><i><code><span data-if="hdevelop" style="display:inline">AttribName</span><span data-if="c" style="display:none">AttribName</span><span data-if="cpp" style="display:none">AttribName</span><span data-if="com" style="display:none">AttribName</span><span data-if="dotnet" style="display:none">attribName</span><span data-if="python" style="display:none">attrib_name</span></code></i></a> is associated to the lines of the object model.
The number of values specified in <a href="#AttribValues"><i><code><span data-if="hdevelop" style="display:inline">AttribValues</span><span data-if="c" style="display:none">AttribValues</span><span data-if="cpp" style="display:none">AttribValues</span><span data-if="com" style="display:none">AttribValues</span><span data-if="dotnet" style="display:none">attribValues</span><span data-if="python" style="display:none">attrib_values</span></code></i></a> must be the
same as the number of already existing lines.
</p></dd>
</dl>
<h2 id="sec_attention">注意</h2>
<p>If multiple attributes are given in <a href="#AttribName"><i><code><span data-if="hdevelop" style="display:inline">AttribName</span><span data-if="c" style="display:none">AttribName</span><span data-if="cpp" style="display:none">AttribName</span><span data-if="com" style="display:none">AttribName</span><span data-if="dotnet" style="display:none">attribName</span><span data-if="python" style="display:none">attrib_name</span></code></i></a>,
<a href="#AttribValues"><i><code><span data-if="hdevelop" style="display:inline">AttribValues</span><span data-if="c" style="display:none">AttribValues</span><span data-if="cpp" style="display:none">AttribValues</span><span data-if="com" style="display:none">AttribValues</span><span data-if="dotnet" style="display:none">attribValues</span><span data-if="python" style="display:none">attrib_values</span></code></i></a> is divided into sub-tuples of equal length.
Each sub-tuple is then assigned to one attribute.
E.g., if <a href="#AttribName"><i><code><span data-if="hdevelop" style="display:inline">AttribName</span><span data-if="c" style="display:none">AttribName</span><span data-if="cpp" style="display:none">AttribName</span><span data-if="com" style="display:none">AttribName</span><span data-if="dotnet" style="display:none">attribName</span><span data-if="python" style="display:none">attrib_name</span></code></i></a> and <a href="#AttribValues"><i><code><span data-if="hdevelop" style="display:inline">AttribValues</span><span data-if="c" style="display:none">AttribValues</span><span data-if="cpp" style="display:none">AttribValues</span><span data-if="com" style="display:none">AttribValues</span><span data-if="dotnet" style="display:none">attribValues</span><span data-if="python" style="display:none">attrib_values</span></code></i></a> are set to
</p>
<p><a href="#AttribName"><i><code><span data-if="hdevelop" style="display:inline">AttribName</span><span data-if="c" style="display:none">AttribName</span><span data-if="cpp" style="display:none">AttribName</span><span data-if="com" style="display:none">AttribName</span><span data-if="dotnet" style="display:none">attribName</span><span data-if="python" style="display:none">attrib_name</span></code></i></a> := <i><span data-if="hdevelop" style="display:inline">['&amp;attrib1','&amp;attrib2','&amp;attrib3']</span><span data-if="c" style="display:none">["&amp;attrib1","&amp;attrib2","&amp;attrib3"]</span><span data-if="cpp" style="display:none">["&amp;attrib1","&amp;attrib2","&amp;attrib3"]</span><span data-if="com" style="display:none">["&amp;attrib1","&amp;attrib2","&amp;attrib3"]</span><span data-if="dotnet" style="display:none">["&amp;attrib1","&amp;attrib2","&amp;attrib3"]</span><span data-if="python" style="display:none">["&amp;attrib1","&amp;attrib2","&amp;attrib3"]</span></i>,
</p>
<p><a href="#AttribValues"><i><code><span data-if="hdevelop" style="display:inline">AttribValues</span><span data-if="c" style="display:none">AttribValues</span><span data-if="cpp" style="display:none">AttribValues</span><span data-if="com" style="display:none">AttribValues</span><span data-if="dotnet" style="display:none">attribValues</span><span data-if="python" style="display:none">attrib_values</span></code></i></a> := <i>[0.0,1.0,2.0,3.0,4.0,5.0]</i>,
</p>
<p>the following values are assigned to the individual attributes:
</p>
<p><i><span data-if="hdevelop" style="display:inline">'&amp;attrib1'</span><span data-if="c" style="display:none">"&amp;attrib1"</span><span data-if="cpp" style="display:none">"&amp;attrib1"</span><span data-if="com" style="display:none">"&amp;attrib1"</span><span data-if="dotnet" style="display:none">"&amp;attrib1"</span><span data-if="python" style="display:none">"&amp;attrib1"</span></i> = <i>[0.0,1.0]</i>,
<i><span data-if="hdevelop" style="display:inline">'&amp;attrib2'</span><span data-if="c" style="display:none">"&amp;attrib2"</span><span data-if="cpp" style="display:none">"&amp;attrib2"</span><span data-if="com" style="display:none">"&amp;attrib2"</span><span data-if="dotnet" style="display:none">"&amp;attrib2"</span><span data-if="python" style="display:none">"&amp;attrib2"</span></i> = <i>[2.0,3.0]</i>,
<i><span data-if="hdevelop" style="display:inline">'&amp;attrib3'</span><span data-if="c" style="display:none">"&amp;attrib3"</span><span data-if="cpp" style="display:none">"&amp;attrib3"</span><span data-if="com" style="display:none">"&amp;attrib3"</span><span data-if="dotnet" style="display:none">"&amp;attrib3"</span><span data-if="python" style="display:none">"&amp;attrib3"</span></i> = <i>[4.0,5.0]</i>.
</p>
<p>Consequently,
it is not possible to set multiple attributes of different
lengths in one call.
</p>
<p><code><span data-if="hdevelop" style="display:inline">set_object_model_3d_attrib</span><span data-if="c" style="display:none">set_object_model_3d_attrib</span><span data-if="cpp" style="display:none">SetObjectModel3dAttrib</span><span data-if="com" style="display:none">SetObjectModel3dAttrib</span><span data-if="dotnet" style="display:none">SetObjectModel3dAttrib</span><span data-if="python" style="display:none">set_object_model_3d_attrib</span></code> stores the input <a href="#AttribValues"><i><code><span data-if="hdevelop" style="display:inline">AttribValues</span><span data-if="c" style="display:none">AttribValues</span><span data-if="cpp" style="display:none">AttribValues</span><span data-if="com" style="display:none">AttribValues</span><span data-if="dotnet" style="display:none">attribValues</span><span data-if="python" style="display:none">attrib_values</span></code></i></a>
unmodified in the 3D object model. Therefore, special attention must
be paid to the consistency of the input data, as most of 该算子s
expect consistent 3D object models.</p>
<h2 id="sec_execution">运行信息</h2>
<ul>
  <li>多线程类型:可重入(与非独占操作符并行运行)。</li>
<li>多线程作用域:全局(可以从任何线程调用)。</li>
  <li>未经并行化处理。</li>
</ul>
<h2 id="sec_parameters">参数表</h2>
  <div class="par">
<div class="parhead">
<span id="ObjectModel3D" class="parname"><b><code><span data-if="hdevelop" style="display:inline">ObjectModel3D</span><span data-if="c" style="display:none">ObjectModel3D</span><span data-if="cpp" style="display:none">ObjectModel3D</span><span data-if="com" style="display:none">ObjectModel3D</span><span data-if="dotnet" style="display:none">objectModel3D</span><span data-if="python" style="display:none">object_model_3d</span></code></b> (input_control)  </span><span>object_model_3d <code>→</code> <span data-if="dotnet" style="display:none"><a href="HObjectModel3D.html">HObjectModel3D</a>, </span><span data-if="dotnet" style="display:none"><a href="HTuple.html">HTuple</a></span><span data-if="python" style="display:none">HHandle</span><span data-if="cpp" style="display:none"><a href="HTuple.html">HTuple</a></span><span data-if="c" style="display:none">Htuple</span><span data-if="hdevelop" style="display:inline"> (handle)</span><span data-if="dotnet" style="display:none"> (<i>IntPtr</i>)</span><span data-if="cpp" style="display:none"> (<i>HHandle</i>)</span><span data-if="c" style="display:none"> (<i>handle</i>)</span></span>
</div>
<p class="pardesc">Handle of the input 3D object model.</p>
</div>
  <div class="par">
<div class="parhead">
<span id="AttribName" class="parname"><b><code><span data-if="hdevelop" style="display:inline">AttribName</span><span data-if="c" style="display:none">AttribName</span><span data-if="cpp" style="display:none">AttribName</span><span data-if="com" style="display:none">AttribName</span><span data-if="dotnet" style="display:none">attribName</span><span data-if="python" style="display:none">attrib_name</span></code></b> (input_control)  </span><span>string(-array) <code>→</code> <span data-if="dotnet" style="display:none"><a href="HTuple.html">HTuple</a></span><span data-if="python" style="display:none">MaybeSequence[str]</span><span data-if="cpp" style="display:none"><a href="HTuple.html">HTuple</a></span><span data-if="c" style="display:none">Htuple</span><span data-if="hdevelop" style="display:inline"> (string)</span><span data-if="dotnet" style="display:none"> (<i>string</i>)</span><span data-if="cpp" style="display:none"> (<i>HString</i>)</span><span data-if="c" style="display:none"> (<i>char*</i>)</span></span>
</div>
<p class="pardesc">Name of the attributes.</p>
<p class="pardesc"><span class="parcat">List of values:
      </span><span data-if="hdevelop" style="display:inline">'blue'</span><span data-if="c" style="display:none">"blue"</span><span data-if="cpp" style="display:none">"blue"</span><span data-if="com" style="display:none">"blue"</span><span data-if="dotnet" style="display:none">"blue"</span><span data-if="python" style="display:none">"blue"</span>, <span data-if="hdevelop" style="display:inline">'green'</span><span data-if="c" style="display:none">"green"</span><span data-if="cpp" style="display:none">"green"</span><span data-if="com" style="display:none">"green"</span><span data-if="dotnet" style="display:none">"green"</span><span data-if="python" style="display:none">"green"</span>, <span data-if="hdevelop" style="display:inline">'lines'</span><span data-if="c" style="display:none">"lines"</span><span data-if="cpp" style="display:none">"lines"</span><span data-if="com" style="display:none">"lines"</span><span data-if="dotnet" style="display:none">"lines"</span><span data-if="python" style="display:none">"lines"</span>, <span data-if="hdevelop" style="display:inline">'original_point_indices'</span><span data-if="c" style="display:none">"original_point_indices"</span><span data-if="cpp" style="display:none">"original_point_indices"</span><span data-if="com" style="display:none">"original_point_indices"</span><span data-if="dotnet" style="display:none">"original_point_indices"</span><span data-if="python" style="display:none">"original_point_indices"</span>, <span data-if="hdevelop" style="display:inline">'point_coord_x'</span><span data-if="c" style="display:none">"point_coord_x"</span><span data-if="cpp" style="display:none">"point_coord_x"</span><span data-if="com" style="display:none">"point_coord_x"</span><span data-if="dotnet" style="display:none">"point_coord_x"</span><span data-if="python" style="display:none">"point_coord_x"</span>, <span data-if="hdevelop" style="display:inline">'point_coord_y'</span><span data-if="c" style="display:none">"point_coord_y"</span><span data-if="cpp" style="display:none">"point_coord_y"</span><span data-if="com" style="display:none">"point_coord_y"</span><span data-if="dotnet" style="display:none">"point_coord_y"</span><span data-if="python" style="display:none">"point_coord_y"</span>, <span data-if="hdevelop" style="display:inline">'point_coord_z'</span><span data-if="c" style="display:none">"point_coord_z"</span><span data-if="cpp" style="display:none">"point_coord_z"</span><span data-if="com" style="display:none">"point_coord_z"</span><span data-if="dotnet" style="display:none">"point_coord_z"</span><span data-if="python" style="display:none">"point_coord_z"</span>, <span data-if="hdevelop" style="display:inline">'point_normal_x'</span><span data-if="c" style="display:none">"point_normal_x"</span><span data-if="cpp" style="display:none">"point_normal_x"</span><span data-if="com" style="display:none">"point_normal_x"</span><span data-if="dotnet" style="display:none">"point_normal_x"</span><span data-if="python" style="display:none">"point_normal_x"</span>, <span data-if="hdevelop" style="display:inline">'point_normal_y'</span><span data-if="c" style="display:none">"point_normal_y"</span><span data-if="cpp" style="display:none">"point_normal_y"</span><span data-if="com" style="display:none">"point_normal_y"</span><span data-if="dotnet" style="display:none">"point_normal_y"</span><span data-if="python" style="display:none">"point_normal_y"</span>, <span data-if="hdevelop" style="display:inline">'point_normal_z'</span><span data-if="c" style="display:none">"point_normal_z"</span><span data-if="cpp" style="display:none">"point_normal_z"</span><span data-if="com" style="display:none">"point_normal_z"</span><span data-if="dotnet" style="display:none">"point_normal_z"</span><span data-if="python" style="display:none">"point_normal_z"</span>, <span data-if="hdevelop" style="display:inline">'polygons'</span><span data-if="c" style="display:none">"polygons"</span><span data-if="cpp" style="display:none">"polygons"</span><span data-if="com" style="display:none">"polygons"</span><span data-if="dotnet" style="display:none">"polygons"</span><span data-if="python" style="display:none">"polygons"</span>, <span data-if="hdevelop" style="display:inline">'red'</span><span data-if="c" style="display:none">"red"</span><span data-if="cpp" style="display:none">"red"</span><span data-if="com" style="display:none">"red"</span><span data-if="dotnet" style="display:none">"red"</span><span data-if="python" style="display:none">"red"</span>, <span data-if="hdevelop" style="display:inline">'score'</span><span data-if="c" style="display:none">"score"</span><span data-if="cpp" style="display:none">"score"</span><span data-if="com" style="display:none">"score"</span><span data-if="dotnet" style="display:none">"score"</span><span data-if="python" style="display:none">"score"</span>, <span data-if="hdevelop" style="display:inline">'triangles'</span><span data-if="c" style="display:none">"triangles"</span><span data-if="cpp" style="display:none">"triangles"</span><span data-if="com" style="display:none">"triangles"</span><span data-if="dotnet" style="display:none">"triangles"</span><span data-if="python" style="display:none">"triangles"</span>, <span data-if="hdevelop" style="display:inline">'xyz_mapping'</span><span data-if="c" style="display:none">"xyz_mapping"</span><span data-if="cpp" style="display:none">"xyz_mapping"</span><span data-if="com" style="display:none">"xyz_mapping"</span><span data-if="dotnet" style="display:none">"xyz_mapping"</span><span data-if="python" style="display:none">"xyz_mapping"</span></p>
</div>
  <div class="par">
<div class="parhead">
<span id="AttachExtAttribTo" class="parname"><b><code><span data-if="hdevelop" style="display:inline">AttachExtAttribTo</span><span data-if="c" style="display:none">AttachExtAttribTo</span><span data-if="cpp" style="display:none">AttachExtAttribTo</span><span data-if="com" style="display:none">AttachExtAttribTo</span><span data-if="dotnet" style="display:none">attachExtAttribTo</span><span data-if="python" style="display:none">attach_ext_attrib_to</span></code></b> (input_control)  </span><span>string <code>→</code> <span data-if="dotnet" style="display:none"><a href="HTuple.html">HTuple</a></span><span data-if="python" style="display:none">str</span><span data-if="cpp" style="display:none"><a href="HTuple.html">HTuple</a></span><span data-if="c" style="display:none">Htuple</span><span data-if="hdevelop" style="display:inline"> (string)</span><span data-if="dotnet" style="display:none"> (<i>string</i>)</span><span data-if="cpp" style="display:none"> (<i>HString</i>)</span><span data-if="c" style="display:none"> (<i>char*</i>)</span></span>
</div>
<p class="pardesc">Defines where extended attributes are attached to.</p>
<p class="pardesc"><span class="parcat">Default:
      </span>[]</p>
<p class="pardesc"><span class="parcat">List of values:
      </span>[], <span data-if="hdevelop" style="display:inline">'lines'</span><span data-if="c" style="display:none">"lines"</span><span data-if="cpp" style="display:none">"lines"</span><span data-if="com" style="display:none">"lines"</span><span data-if="dotnet" style="display:none">"lines"</span><span data-if="python" style="display:none">"lines"</span>, <span data-if="hdevelop" style="display:inline">'object'</span><span data-if="c" style="display:none">"object"</span><span data-if="cpp" style="display:none">"object"</span><span data-if="com" style="display:none">"object"</span><span data-if="dotnet" style="display:none">"object"</span><span data-if="python" style="display:none">"object"</span>, <span data-if="hdevelop" style="display:inline">'points'</span><span data-if="c" style="display:none">"points"</span><span data-if="cpp" style="display:none">"points"</span><span data-if="com" style="display:none">"points"</span><span data-if="dotnet" style="display:none">"points"</span><span data-if="python" style="display:none">"points"</span>, <span data-if="hdevelop" style="display:inline">'polygons'</span><span data-if="c" style="display:none">"polygons"</span><span data-if="cpp" style="display:none">"polygons"</span><span data-if="com" style="display:none">"polygons"</span><span data-if="dotnet" style="display:none">"polygons"</span><span data-if="python" style="display:none">"polygons"</span>, <span data-if="hdevelop" style="display:inline">'triangles'</span><span data-if="c" style="display:none">"triangles"</span><span data-if="cpp" style="display:none">"triangles"</span><span data-if="com" style="display:none">"triangles"</span><span data-if="dotnet" style="display:none">"triangles"</span><span data-if="python" style="display:none">"triangles"</span></p>
</div>
  <div class="par">
<div class="parhead">
<span id="AttribValues" class="parname"><b><code><span data-if="hdevelop" style="display:inline">AttribValues</span><span data-if="c" style="display:none">AttribValues</span><span data-if="cpp" style="display:none">AttribValues</span><span data-if="com" style="display:none">AttribValues</span><span data-if="dotnet" style="display:none">attribValues</span><span data-if="python" style="display:none">attrib_values</span></code></b> (input_control)  </span><span>real(-array) <code>→</code> <span data-if="dotnet" style="display:none"><a href="HTuple.html">HTuple</a></span><span data-if="python" style="display:none">MaybeSequence[Union[float, int]]</span><span data-if="cpp" style="display:none"><a href="HTuple.html">HTuple</a></span><span data-if="c" style="display:none">Htuple</span><span data-if="hdevelop" style="display:inline"> (real / </span><span data-if="hdevelop" style="display:inline">integer)</span><span data-if="dotnet" style="display:none"> (<i>double</i> / </span><span data-if="dotnet" style="display:none">int / </span><span data-if="dotnet" style="display:none">long)</span><span data-if="cpp" style="display:none"> (<i>double</i> / </span><span data-if="cpp" style="display:none">Hlong)</span><span data-if="c" style="display:none"> (<i>double</i> / </span><span data-if="c" style="display:none">Hlong)</span></span>
</div>
<p class="pardesc">Attribute values.</p>
</div>
  <div class="par">
<div class="parhead">
<span id="ObjectModel3DOut" class="parname"><b><code><span data-if="hdevelop" style="display:inline">ObjectModel3DOut</span><span data-if="c" style="display:none">ObjectModel3DOut</span><span data-if="cpp" style="display:none">ObjectModel3DOut</span><span data-if="com" style="display:none">ObjectModel3DOut</span><span data-if="dotnet" style="display:none">objectModel3DOut</span><span data-if="python" style="display:none">object_model_3dout</span></code></b> (output_control)  </span><span>object_model_3d <code>→</code> <span data-if="dotnet" style="display:none"><a href="HObjectModel3D.html">HObjectModel3D</a>, </span><span data-if="dotnet" style="display:none"><a href="HTuple.html">HTuple</a></span><span data-if="python" style="display:none">HHandle</span><span data-if="cpp" style="display:none"><a href="HTuple.html">HTuple</a></span><span data-if="c" style="display:none">Htuple</span><span data-if="hdevelop" style="display:inline"> (handle)</span><span data-if="dotnet" style="display:none"> (<i>IntPtr</i>)</span><span data-if="cpp" style="display:none"> (<i>HHandle</i>)</span><span data-if="c" style="display:none"> (<i>handle</i>)</span></span>
</div>
<p class="pardesc">Handle of the resulting 3D object model.</p>
</div>
<h2 id="sec_result">结果</h2>
<p>如果参数均有效，算子
<code><span data-if="hdevelop" style="display:inline">set_object_model_3d_attrib</span><span data-if="c" style="display:none">set_object_model_3d_attrib</span><span data-if="cpp" style="display:none">SetObjectModel3dAttrib</span><span data-if="com" style="display:none">SetObjectModel3dAttrib</span><span data-if="dotnet" style="display:none">SetObjectModel3dAttrib</span><span data-if="python" style="display:none">set_object_model_3d_attrib</span></code> 返回值 <TT>2</TT> (
      <TT>H_MSG_TRUE</TT>)
    .
如有必要，将引发异常。</p>
<h2 id="sec_predecessors">可能的前置算子</h2>
<p>
<code><a href="gen_empty_object_model_3d.html"><span data-if="hdevelop" style="display:inline">gen_empty_object_model_3d</span><span data-if="c" style="display:none">gen_empty_object_model_3d</span><span data-if="cpp" style="display:none">GenEmptyObjectModel3d</span><span data-if="com" style="display:none">GenEmptyObjectModel3d</span><span data-if="dotnet" style="display:none">GenEmptyObjectModel3d</span><span data-if="python" style="display:none">gen_empty_object_model_3d</span></a></code>
</p>
<h2 id="sec_successors">可能的后置算子</h2>
<p>
<code><a href="get_object_model_3d_params.html"><span data-if="hdevelop" style="display:inline">get_object_model_3d_params</span><span data-if="c" style="display:none">get_object_model_3d_params</span><span data-if="cpp" style="display:none">GetObjectModel3dParams</span><span data-if="com" style="display:none">GetObjectModel3dParams</span><span data-if="dotnet" style="display:none">GetObjectModel3dParams</span><span data-if="python" style="display:none">get_object_model_3d_params</span></a></code>
</p>
<h2 id="sec_alternatives">可替代算子</h2>
<p>
<code><a href="set_object_model_3d_attrib_mod.html"><span data-if="hdevelop" style="display:inline">set_object_model_3d_attrib_mod</span><span data-if="c" style="display:none">set_object_model_3d_attrib_mod</span><span data-if="cpp" style="display:none">SetObjectModel3dAttribMod</span><span data-if="com" style="display:none">SetObjectModel3dAttribMod</span><span data-if="dotnet" style="display:none">SetObjectModel3dAttribMod</span><span data-if="python" style="display:none">set_object_model_3d_attrib_mod</span></a></code>
</p>
<h2 id="sec_see">参考其它</h2>
<p>
<code><a href="copy_object_model_3d.html"><span data-if="hdevelop" style="display:inline">copy_object_model_3d</span><span data-if="c" style="display:none">copy_object_model_3d</span><span data-if="cpp" style="display:none">CopyObjectModel3d</span><span data-if="com" style="display:none">CopyObjectModel3d</span><span data-if="dotnet" style="display:none">CopyObjectModel3d</span><span data-if="python" style="display:none">copy_object_model_3d</span></a></code>, 
<code><a href="remove_object_model_3d_attrib.html"><span data-if="hdevelop" style="display:inline">remove_object_model_3d_attrib</span><span data-if="c" style="display:none">remove_object_model_3d_attrib</span><span data-if="cpp" style="display:none">RemoveObjectModel3dAttrib</span><span data-if="com" style="display:none">RemoveObjectModel3dAttrib</span><span data-if="dotnet" style="display:none">RemoveObjectModel3dAttrib</span><span data-if="python" style="display:none">remove_object_model_3d_attrib</span></a></code>
</p>
<h2 id="sec_module">模块</h2>
<p>
3D Metrology</p>
<!--OP_REF_FOOTER_START-->
<hr>
<div class="indexlink">
<a href="index_classes.html"><span data-if="dotnet" style="display:none;">类别</span><span data-if="cpp" style="display:none;">类别</span></a><span data-if="dotnet" style="display:none;"> | </span><span data-if="cpp" style="display:none;"> | </span><a href="index_by_name.html">算子列表</a>
</div>
<div class="footer">
<div class="copyright">HALCON算子参考手册 Copyright © 2015-2023 51Halcon</div>
</div>
</div>
</body>
</html>
